package com.qf.pojo;

import lombok.Data;

@Data
public class Community {
    private Integer id;

    private String number;

    private String name;

    private String address;

    private Double size;

    private Integer familyNumber;

    private Double treeSize;

    private String img;

    private Integer tenementId;

    private Tenement tenement;

    public Tenement getTenement() { return tenement; }

    public void setTenement(Tenement tenement) {
        this.tenement = tenement;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Double getSize() {
        return size;
    }

    public void setSize(Double size) {
        this.size = size;
    }

    public Integer getFamilyNumber() {
        return familyNumber;
    }

    public void setFamilyNumber(Integer familyNumber) {
        this.familyNumber = familyNumber;
    }

    public Double getTreeSize() {
        return treeSize;
    }

    public void setTreeSize(Double treeSize) {
        this.treeSize = treeSize;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public Integer getTenementId() {
        return tenementId;
    }

    public void setTenementId(Integer tenementId) {
        this.tenementId = tenementId;
    }
}